package com.memo4android.ui;

import com.memo4android.R;
import com.memo4android.model.Dossier;

import android.content.Context;
import android.widget.Button;

public class FolderButton extends Button {

	private Dossier dossier;

	public FolderButton(Context context, Dossier dossier) {
		super(context);
		this.dossier = dossier;
		this.setText(dossier.getTitre());
		this.setBackgroundResource(R.drawable.folder);
	}
	
	public Dossier getDossier() {
		return dossier;
	}
}
